#!/usr/bin/env python3
# Created by han on 2016/7/9
import os,sys
import socketserver
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

from module import myftp_server,tools


def run():
    server = socketserver.ThreadingTCPServer(("0.0.0.0", 8899), myftp_server.Hftp)
    server.serve_forever()


if __name__ == '__main__':
    run()